package org.szy;

import org.noear.solon.annotation.Component;
import org.noear.solon.core.event.AppPrestopEndEvent;
import org.noear.solon.core.event.EventListener;

/**
 * 应用停止时执行的事件监听器
 * @author wangbuhao
 * @since 2023年6月30日11:30:54
 */
@Component
public class AppStopEndEventListener implements EventListener<AppPrestopEndEvent> {

    @Override
    public void onEvent(AppPrestopEndEvent event) throws Throwable {
        System.out.println("----------> AppPrestopEndEvent，应用停止时的操作写在此处");
    }

}
